/*
 * =====================================================================================
 *
 *       Filename:  test.c
 *
 *    Description: Example code to generate segmentation fault 
 *
 *        Version:  1.0
 *        Created:  05/26/2011 10:39:24 AM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Sumesh N R (), sumesh.nr@geodesic.com
 *        Company:  geodesic
 *
 * =====================================================================================
 */


#include	<stdlib.h>
#include	<stdio.h>

/* 
 * ===  FUNCTION  ======================================================================
 *         Name:  main
 *  Description:  
 * =====================================================================================
 */
int main ( int argc, char *argv[] )
{

	char *s = "hello world";
	     *s = 'H';

		return EXIT_SUCCESS;
}				/* ----------  end of function main  ---------- */
